<%--
  Created by IntelliJ IDEA.
  User: 10073
  Date: 2020/10/26
  Time: 17:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>书籍信息界面</title>
</head>
<style>
    table{
        width: 1000px;
        height: 1000px;
    }
    img{
        width: 300px;
        height: 150px;
    }

</style>
<body>
<div align="center">
    <h2>书籍信息界面</h2>
    <hr>
    <br>
    <table border="1">
        <tr>
            <td>书籍编号</td>
            <td>书籍名称</td>
            <td>书籍价格</td>
            <td>封皮</td>
        </tr>
        <c:forEach items="${books}" var="wwb">
            <tr>
                <td><c:out value="${wwb.wwbId }"></c:out></td>
                <td><c:out value="${wwb.wwbName }"></c:out></td>
                <td><c:out value="${wwb.wwbPrice }"></c:out></td>
                <td><img src="${wwb.wwbPath }"></td>
            </tr>
        </c:forEach>
    </table>
</div>
</body>
</html>
